package org.easy.platform.system.dubbo;

import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboService;
import org.easy.platform.system.api.ISystemApi;
import org.easy.platform.system.business.ISystemBusiness;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 类说明
 *  @org.apache.dubbo.config.annotation.Service
 * @author YanMing
 * @date 2024/4/29
 */
@RequiredArgsConstructor
@Service
@DubboService
public class SystemApiDubbo implements ISystemApi {
    private final ISystemBusiness systemBusiness;
    @Override
    public String hello() {
        return systemBusiness.hello("dubbo");
    }
}
